package com.zhouxl.program.multi.seckill;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhouxl
 * @DATE 2021/7/12
 * @descriptoin
 */
@RestController
public class SeckillController {

    @Autowired
    private SeckillService seckillService;

    @RequestMapping("/seckillProduct")
    public Object seckillProduct(String productId){
        return seckillService.seckillProduct(productId);
    }

}
